package com.knowvoyage.knowvoyageserver.mapper;

import com.knowvoyage.knowvoyageserver.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface UserMapper {
    void insert(User user);
    User selectById(Long userId);
    User selectByPhone(String phone);
    void update(User user);
    void delete(Long userId);
    List<User> selectAll();
}